.class public Lcom/instagram/android/creation/b/br;
.super Ljava/lang/Object;
.source "FilterFragmentArgumentsBuilder.java"


# instance fields
.field private final a:Landroid/os/Bundle;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 12
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 14
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    iput-object v0, p0, Lcom/instagram/android/creation/b/br;->a:Landroid/os/Bundle;

    return-void
.end method

.method public static a(Landroid/os/Bundle;)Landroid/os/Bundle;
    .locals 4
    .parameter

    .prologue
    .line 17
    new-instance v0, Lcom/instagram/android/creation/b/br;

    invoke-direct {v0}, Lcom/instagram/android/creation/b/br;-><init>()V

    .line 20
    const-string v1, "mediaSource"

    const/4 v2, 0x1

    invoke-virtual {p0, v1, v2}, Landroid/os/Bundle;->getInt(Ljava/lang/String;I)I

    move-result v1

    .line 25
    invoke-virtual {v0, v1}, Lcom/instagram/android/creation/b/br;->a(I)Lcom/instagram/android/creation/b/br;

    move-result-object v1

    const-string v2, "mediaFilePath"

    invoke-virtual {p0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/instagram/android/creation/b/br;->a(Ljava/lang/String;)Lcom/instagram/android/creation/b/br;

    move-result-object v1

    const-string v2, "mirrorMedia"

    const/4 v3, 0x0

    invoke-virtual {p0, v2, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z

    move-result v2

    invoke-virtual {v1, v2}, Lcom/instagram/android/creation/b/br;->a(Z)Lcom/instagram/android/creation/b/br;

    .line 30
    const-string v1, "EXTRA_LATITUDE"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 31
    const-string v1, "EXTRA_LATITUDE"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->getDouble(Ljava/lang/String;)D

    move-result-wide v1

    invoke-static {v1, v2}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/creation/b/br;->a(Ljava/lang/Double;)Lcom/instagram/android/creation/b/br;

    .line 34
    :cond_0
    const-string v1, "EXTRA_LONGITUDE"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 35
    const-string v1, "EXTRA_LONGITUDE"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->getDouble(Ljava/lang/String;)D

    move-result-wide v1

    invoke-static {v1, v2}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/creation/b/br;->b(Ljava/lang/Double;)Lcom/instagram/android/creation/b/br;

    .line 38
    :cond_1
    const-string v1, "cameraRotation"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 39
    const-string v1, "cameraRotation"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/creation/b/br;->a(Ljava/lang/Integer;)Lcom/instagram/android/creation/b/br;

    .line 43
    :cond_2
    const-string v1, "originalWidth"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 44
    const-string v1, "originalWidth"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/android/creation/b/br;->b(Ljava/lang/Integer;)Lcom/instagram/android/creation/b/br;

    .line 48
    :cond_3
    const-string v1, "originalHeight"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 49
    const-string v1, "originalHeight"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/android/creation/b/br;->c(Ljava/lang/Integer;)Lcom/instagram/android/creation/b/br;

    .line 53
    :cond_4
    const-string v1, "EXTRA_CROP_RECT"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 54
    const-string v1, "EXTRA_CROP_RECT"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/android/creation/b/br;->a(Landroid/os/Parcelable;)Lcom/instagram/android/creation/b/br;

    .line 57
    :cond_5
    const-string v1, "originalPhotoAngle"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    .line 58
    const-string v1, "originalPhotoAngle"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->getFloat(Ljava/lang/String;)F

    move-result v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/creation/b/br;->a(F)Lcom/instagram/android/creation/b/br;

    .line 62
    :cond_6
    const-string v1, "pendingMediaKey"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_7

    .line 63
    const-string v1, "pendingMediaKey"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/android/creation/b/br;->b(Ljava/lang/String;)Lcom/instagram/android/creation/b/br;

    .line 67
    :cond_7
    const-string v1, "directShare"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_8

    .line 68
    const-string v1, "directShare"

    invoke-virtual {p0, v1}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result v1

    invoke-direct {v0, v1}, Lcom/instagram/android/creation/b/br;->b(Z)Lcom/instagram/android/creation/b/br;

    .line 71
    :cond_8
    invoke-virtual {v0}, Lcom/instagram/android/creation/b/br;->a()Landroid/os/Bundle;

    move-result-object v0

    return-object v0
.end method

.method private a(Landroid/os/Parcelable;)Lcom/instagram/android/creation/b/br;
    .locals 2
    .parameter

    .prologue
    .line 120
    iget-object v0, p0, Lcom/instagram/android/creation/b/br;->a:Landroid/os/Bundle;

    const-string v1, "cropRect"

    invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V

    .line 121
    return-object p0
.end method

.method private b(Ljava/lang/Integer;)Lcom/instagram/android/creation/b/br;
    .locals 3
    .parameter

    .prologue
    .line 110
    iget-object v0, p0, Lcom/instagram/android/creation/b/br;->a:Landroid/os/Bundle;

    const-string v1, "originalWidth"

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 111
    return-object p0
.end method

.method private b(Ljava/lang/String;)Lcom/instagram/android/creation/b/br;
    .locals 2
    .parameter

    .prologue
    .line 125
    iget-object v0, p0, Lcom/instagram/android/creation/b/br;->a:Landroid/os/Bundle;

    const-string v1, "key"

    invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 126
    return-object p0
.end method

.method private b(Z)Lcom/instagram/android/creation/b/br;
    .locals 2
    .parameter

    .prologue
    .line 130
    iget-object v0, p0, Lcom/instagram/android/creation/b/br;->a:Landroid/os/Bundle;

    const-string v1, "directShare"

    invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 131
    return-object p0
.end method

.method private c(Ljava/lang/Integer;)Lcom/instagram/android/creation/b/br;
    .locals 3
    .parameter

    .prologue
    .line 115
    iget-object v0, p0, Lcom/instagram/android/creation/b/br;->a:Landroid/os/Bundle;

    const-string v1, "originalHeight"

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 116
    return-object p0
.end method


# virtual methods
.method public a()Landroid/os/Bundle;
    .locals 1

    .prologue
    .line 135
    iget-object v0, p0, Lcom/instagram/android/creation/b/br;->a:Landroid/os/Bundle;

    return-object v0
.end method

.method public a(F)Lcom/instagram/android/creation/b/br;
    .locals 2
    .parameter

    .prologue
    .line 75
    iget-object v0, p0, Lcom/instagram/android/creation/b/br;->a:Landroid/os/Bundle;

    const-string v1, "photoAngle"

    invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putFloat(Ljava/lang/String;F)V

    .line 76
    return-object p0
.end method

.method public a(I)Lcom/instagram/android/creation/b/br;
    .locals 2
    .parameter

    .prologue
    .line 80
    iget-object v0, p0, Lcom/instagram/android/creation/b/br;->a:Landroid/os/Bundle;

    const-string v1, "mediaSource"

    invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 81
    return-object p0
.end method

.method public a(Ljava/lang/Double;)Lcom/instagram/android/creation/b/br;
    .locals 4
    .parameter

    .prologue
    .line 95
    iget-object v0, p0, Lcom/instagram/android/creation/b/br;->a:Landroid/os/Bundle;

    const-string v1, "latitude"

    invoke-virtual {p1}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v2

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Bundle;->putDouble(Ljava/lang/String;D)V

    .line 96
    return-object p0
.end method

.method public a(Ljava/lang/Integer;)Lcom/instagram/android/creation/b/br;
    .locals 3
    .parameter

    .prologue
    .line 105
    iget-object v0, p0, Lcom/instagram/android/creation/b/br;->a:Landroid/os/Bundle;

    const-string v1, "cameraRotation"

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 106
    return-object p0
.end method

.method public a(Ljava/lang/String;)Lcom/instagram/android/creation/b/br;
    .locals 2
    .parameter

    .prologue
    .line 85
    iget-object v0, p0, Lcom/instagram/android/creation/b/br;->a:Landroid/os/Bundle;

    const-string v1, "filePath"

    invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 86
    return-object p0
.end method

.method public a(Z)Lcom/instagram/android/creation/b/br;
    .locals 2
    .parameter

    .prologue
    .line 90
    iget-object v0, p0, Lcom/instagram/android/creation/b/br;->a:Landroid/os/Bundle;

    const-string v1, "mirrorMedia"

    invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 91
    return-object p0
.end method

.method public b(Ljava/lang/Double;)Lcom/instagram/android/creation/b/br;
    .locals 4
    .parameter

    .prologue
    .line 100
    iget-object v0, p0, Lcom/instagram/android/creation/b/br;->a:Landroid/os/Bundle;

    const-string v1, "longitude"

    invoke-virtual {p1}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v2

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Bundle;->putDouble(Ljava/lang/String;D)V

    .line 101
    return-object p0
.end method
